﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.Text;

namespace Himp.Erp
{
    public class InboundDetlCreateOrUpdateDto
    {
        /// <summary>
        /// 
        /// </summary>
        public Guid InboundRecId { get; set; }

        /// <summary>
        /// 物料信息Id
        /// </summary>
        public Guid MatlInfoId { get; set; }

        /// <summary>
        /// 序号
        /// </summary>
        public int IndexNo { get; set; }

        /// <summary>
        /// 采购单价
        /// </summary>
        public decimal? PurcPric { get; set; }

        /// <summary>
        /// 折扣率
        /// </summary>
        public decimal? DiscRate { get; set; }

        /// <summary>
        /// 入库单价
        /// </summary>
        public decimal? InboundPric { get; set; }

        /// <summary>
        /// 数量
        /// </summary>
        public decimal Cnt { get; set; }

        /// <summary>
        /// 采购金额
        /// </summary>
        public decimal? PurcAmt { get; set; }

        /// <summary>
        /// 入库金额
        /// </summary>
        public decimal? InboundAmt { get; set; }

        /// <summary>
        /// 销售金额
        /// </summary>
        public decimal? SaluntPric { get; set; }

        /// <summary>
        /// 生产批号
        /// </summary>
        public string ManuLotnum { get; set; }

        /// <summary>
        /// 生产日期
        /// </summary>
        public DateTime ManuDate { get; set; }

        /// <summary>
        /// 拆零标志
        /// </summary>
        public bool TrdnFlag { get; set; }

        /// <summary>
        /// 有效期
        /// </summary>
        public DateTime ValiDatetime { get; set; }

        /// <summary>
        /// 批次号
        /// </summary>
        public string? Bchno { get; set; }

        /// <summary>
        /// 备注
        /// </summary>
        public string? Exp { get; set; }
    }
}
